package com.hzw.saas.web.app.old.storage.param;

import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 资源列表
 *
 * @author zzl
 * @since 07/04/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
// @ApiModel("保存分享")
public class ResourceShareSaveParam implements Serializable {

    private static final long serialVersionUID = 2949844485763811628L;

    @ApiModelProperty(value = "分享ID", required = true)
    @NotBlank(message = "分享ID不可为空")
    private String shareId;

    @ApiModelProperty(value = "保存至父目录ID", required = true)
    @NotBlank(message = "保存至父目录ID不可为空")
    private String tarSupId;

    @ApiModelProperty("待保存的目录路径(目录ID路径)列表")
    private List<String> folderIdPaths;

    @ApiModelProperty("待保存的文件路径(文件ID路径)列表")
    private List<String> fileIdPaths;

}
